package com.bjpowernode.crm.commons.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

@AllArgsConstructor
@Getter
public enum RespCode {

    SUCCESS(1000,"请求成功"),
    FAILURE(9999,"请求异常，请稍后重试"),

    //15开头为业务状态码
    ACT_PWD_NOT_MATCHED(1501,"账号密码不匹配"),
    ACT_STATUS_EXPIRED(1502,"账号已过期"),
    ACT_LOCKED(1503,"账号已锁定"),
    IP_NOT_ALLOW(1504,"访问IP地址受限"),
    ;

    private Integer code;
    private String message;

}
